package alvarodelrosal.chat.server.infraestructura;

import alvarodelrosal.chat.server.modelo.ChatConversation;
import alvarodelrosal.chat.server.modelo.ChatMessage;
import java.util.List;

public interface ChatsPersistence {

    public List<Integer> getAllChats();
    public String getChatName(int ChatId);
    public List<ChatMessage> getMessagesFrom(int chatId);
    public List<Integer> getChatsWith(int userId);
    public void save(ChatConversation conversation);
    
}
